package com.sinodata.bsm.cicp.collector.aix;

import java.util.HashMap;
import java.util.Map;

/**
 * <p>
 * Description: 
 * </p>
 *
 * @author wangpeng
 * @version 1.0

 * <p>
 * History: 
 *
 * Date                     Author         Version     Description
 * ---------------------------------------------------------------------------------
 * 2013-8-12 下午3:44:30          wangpeng        1.0         To create
 * </p>
 *
 * @since 
 * @see     
 */
public class ErrptFilterCache {
    private final Map<String, Long> deviceMap = new HashMap<String, Long>();
    private static final ErrptFilterCache instance = new ErrptFilterCache();

    private ErrptFilterCache() {

    }

    public static ErrptFilterCache getInstance() {
        return instance;
    }

    public synchronized void put(String key, long value) {
        deviceMap.put(key, value);
    }

    public Long get(String key) {
        return deviceMap.get(key);
    }
}
